package com.ktgj.service.service;

import java.util.Date;
import java.util.List;
import com.ktgj.service.domain.KtserviceContractActivitycodebatch;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 码批次			
Service接口
 * 
 * @author ruoyi
 * @date 2021-09-03
 */
public interface IKtserviceContractActivitycodebatchService 
{
    /**
     * 查询码批次			

     * 
     * @param activityCodeBatchId 码批次			
ID
     * @return 码批次			

     */
    public KtserviceContractActivitycodebatch selectKtserviceContractActivitycodebatchById(Long activityCodeBatchId);

    /**
     * 查询码批次			
列表
     * 
     * @param KtserviceContractActivitycodebatch 码批次			

     * @return 码批次			
集合
     */
    public List<KtserviceContractActivitycodebatch> selectKtserviceContractActivitycodebatchList(KtserviceContractActivitycodebatch KtserviceContractActivitycodebatch);

    /**
     * 新增码批次			

     * 
     * @param KtserviceContractActivitycodebatch 码批次			

     * @return 结果
     */
    public int insertKtserviceContractActivitycodebatch(KtserviceContractActivitycodebatch KtserviceContractActivitycodebatch);

    /**
     * 修改码批次			

     * 
     * @param KtserviceContractActivitycodebatch 码批次			

     * @return 结果
     */
    public int updateKtserviceContractActivitycodebatch(KtserviceContractActivitycodebatch KtserviceContractActivitycodebatch);

    /**
     * 批量删除码批次			

     * 
     * @param activityCodeBatchIds 需要删除的码批次			
ID
     * @return 结果
     */
    public int deleteKtserviceContractActivitycodebatchByIds(Long[] activityCodeBatchIds);

    /**
     * 删除码批次信息
     * @param activityCodeBatchId 码批次ID
     * @return 结果
     */
    public int deleteKtserviceContractActivitycodebatchById(Long activityCodeBatchId);

    /**
     * 活动码续码
     * @param bathName 码批次名称
     * @param generateNumber 续码个数
     * @param startDate 开始时间
     * @param endDate 结束时间
     * @return
     */
    public int addActivityCodeBathContinuation(String bathName, Long generateNumber,
                                               Date startDate, Date endDate);

}
